﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain
{
    /// <summary>
    /// 记录表
    /// </summary>
    public class RecordModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int RecordId { get; set; }


        /// <summary>
        /// 申请表id
        /// </summary>
        public int FormId { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public int? DepartId { get; set; }
        /// <summary>
        /// 审批人姓名--登录人
        /// </summary>
        public string ShenPiName { get; set; }
        /// <summary>
        /// 审批人id
        /// </summary>
        public int ShenPiId { get; set; }

        /// <summary>
        /// 请假事由
        /// </summary>
        public string Reason { get; set; }

        /// <summary>
        /// 审批意见(同意拒绝)   
        /// <summary>
        public string ApprovalOpinion { get; set; }

        /// <summary>
        /// 审批时间
        /// </summary>
        public DateTime Createtime { get; set; }
        /// <summary>
        /// 审批意见（不通过后的意见）
        /// </summary>
        public string ApproveReson {  get; set; }


        /// <summary>
        /// 审批状态
        /// </summary>
        public Status Status { get; set; }

        /// <summary>
        /// 暂时角色编号
        /// </summary>
        public int HaoId { get; set; }




    }



}
